package com.me.modules.srm.service;

import com.me.modules.common.page.Page;
import com.me.modules.srm.entity.SrmInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 服务请求信息表
 *
 * @author lill
 * @email lill5270@163.com
 * @date 2019-01-16 17:20:30
 */
public interface SrmInfoService {

	SrmInfoEntity queryObject(Long id);

	List<SrmInfoEntity> queryList(Map<String, Object> map);

    List<SrmInfoEntity> queryListByBean(SrmInfoEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(SrmInfoEntity info);

	int update(SrmInfoEntity info);

	int delete(Long id);

	int deleteBatch(Long[] ids);

	Page<SrmInfoEntity> findPage(SrmInfoEntity info, int pageNum);
}
